home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HamCall (April 1991)
/
HAMCALL CD-ROM (Buckmaster)(April 1991).BIN
/
netmac.sea
/
Autoexec.net
< prev
next >
Wrap
Text File
|
1989-04-23
|
5KB
|
162 lines
# Macintosh-specific "autoexec.net" config. file
#
# When installing TCP for your node, be sure to replace all
# occurrences of YOURCALL here with your callsign and all
# occurrences of IPADDRESS with the IP address that was
# assigned to you by your local IP Address Coordinator.
# (You MUST have a distinct personal IP address for every
# station you put on the air; if you don't know what this
# means, ask others active on TCP how to get one.)
#
# Read Bdale's Documentation to understand this file better.
#
# Define who we are -- this must come first in this file:
#
hostname YOURCALL
ax25 mycall YOURCALL
#
# Attach interfaces:
# Syntax for a Macintosh using the modem port for AX25:
# attach <hw type> <not used but needs to be here> <string version
# of the port ('a' or 'b')> <mode> <label> <bufsize> <mtu> <speed>
#
# The following typical attach command for the Mac says that you
# will use an asynchronous port, specifically port 'a' (modem
# port), talking to an "ax25" (i.e. KISS-based) TNC. The name you
# will use when running TCP to refer to this port is "ax0". You
# allow a maximum of 2048 bytes of buffer; packets are no more
# than 256 bytes long. You talk to the port at 9600 baud.
#
attach asy 1 a ax25 ax0 2048 256 9600
#
# The following describes the parameters for the AppleTalk driver.
#
# argv[0]: hardware type, must be "appletalk"
# argv[1]: Protocol Type, e.g., "77"
# argv[2]: device name,must be "b"
# argv[3]: mode, must be "arpa"
# argv[4]: interface label, e.g., "at0"
# argv[5]: maximum number of packets allowed on receive queue, e.g., "5"
# argv[6]: maximum transmission unit, bytes, e.g., "600" < appletalk limitation.
#
# attach appletalk 77 b arpa at0 5 600
#
# Insert your personal IP address in []'s:
#
ip addr [IPADDRESS]
#
# By default all packets will go out the "ax0" port:
#
route add default ax0
#
# The format is: param <label> <hex value> <hex value> ...
#
# As an example, a TNC-1 with an old crystal transmitter that is
# slow to key may need longer TXDELAY and TXTAIL values than the
# defaults, e.g.:
#
param ax0 1 40
param ax0 2 200
param ax0 3 10
param ax0 4 3
param ax0 5 0
#
# Time To Live is the maximum number of hops a packet can take
# before it is thrown away. This command prevents an infinite
# loop from occuring with packets in the network.
#
ip ttl 16
#
# The Maximum Segment Size is the largest single transmission that
# you will send. An mss of 216 corresponds to the mtu of 256 set
# up in the attach command above, overhead bytes considered.
#
tcp mss 216
#
# The Window parameter establishes the maximum number of bytes
# that may be outstanding before your system expects an ack. If
# window is twice as big as mss, for example, there will be two
# active packets on the channel at any given time... large values
# of window provide improved throughput on full-duplex links, but
# are a problem on the air. Keep mss <= window <= 2*mss if
# you're on the air.
#
tcp window 432
#
# set round trip time to 5 seconds - the original documentation states
# this value as seconds, when it should be milliseconds!
#
tcp irtt 5000
#
# Tell TCP where to keep a log file - note the leading ':' character.
# The current directory prefix will be appended to the front of this entry.
#
log :spool:log
#
#
# Tell TCP to start up each of its daemons:
start smtp
start ftp
start echo
start discard
start telnet
start finger
#
# smtp timer below sets the amount of time between attempts to send
# messages in the queue. The value of 180 (seconds) sets it to every 3 min.
# commented out for now, once you are familiar with smtp, you may change
# this to meet your local needs. Three minutes is a good number if your station
# is up 24hrs/day. If not, adjust to more like 10 minutes (600 seconds)
#
#smtp timer 180
#
# Set the escape character - this is required for the Mac 512/Plus
# keyboards. You may comment it out for the ADB keyboards.
#
escape `
#
# Set the local timezone and offset to GMT
#
tzone PST 0
#
# Setup mailbox function for AX25 connects
#
mbox y
#
# AX.25 CONFIGURATION:
# The values in the following entries reflect default values.
# These values come into play when you are operating in the AX.25
# mode, along with your "ax25 mycall" entry above.
#
# Disable AX.25 digipeating, and let them eat cake:
#
ax25 digipeat on
#
# Set the max number of frames allowed to remain unacknowledged--
# cannot be greater than 7, and 1 is a good number:
#
ax25 maxframe 1
#
# Limit the size of I=fields:
#
ax25 paclen 256
#
# Limit the number of unsuccessful retransmissions:
#
ax25 retry 6
#
# Set the number of bytes that can be pending on an AX.25 receive
# queue:
#
ax25 window 4096
#
ax25 t1 15000
ax25 t2 10000
ax25 t3 180000
#
# Turn on the mheard command in tcp...
#
ax25 heard on
#
# End of net.start